package io.github.wppli.infrastructure.persistent.dao;

import io.github.wppli.infrastructure.persistent.po.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.github.wppli.infrastructure.persistent.po.ProductOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 商品信息表 Mapper 接口
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2025-03-12
 */
@Mapper
public interface IProductDao extends BaseMapper<Product> {

    List<Product> getTopHotProducts(int topN);

    /** 查询商品列表 */
    List<Product> queryProductList();
}
